import VideoController from "@/controllers/video_controller";

exports.plugin = {
    name: 'video-route',
    register: async function(server, options) {
        server.route([
            { path: '/video/add', method: 'POST', handler: VideoController.handleUploadFile, config: {auth: 'jwt'}},
        ])
    }
}
